package com.eastfair.home.api;

import com.eastfair.core.base.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


@FeignClient(value = "home/msg")
public interface HomeMsgFeign {

    /**
     * sendInnerMsgByTeamId
     * @param content
     * @param teamId
     * @return
     */
    @PostMapping({"/sendInnerMsgByTeamId"})
    R sendInnerMsgByTeamId(@RequestParam(name="content") String content, @RequestParam(name="teamId") Long teamId);
}
